import Qt 4.7


ListView {
	    y: activeFocus ? 10 : 40; width: parent.width ; height: parent.height - 20
	    focus: true
	    anchors.fill: parent
            model:ModelSimple{}
	    delegate: ListViewDelegate {}
	    spacing:20
	    Behavior on y {
		NumberAnimation { duration: 600; easing.type: Easing.OutQuint }
	    }
	    
	    Keys.onPressed: {
		if (event.key == Qt.Key_Return) {
		    console.log("selected ############:"  + currentIndex );
		    event.accepted = true;
		}
	    }
	}